home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / scripts / light.shader < prev    next >
Encoding:
Text File  |  2002-10-21  |  19.2 KB  |  1,084 lines

  1. textures/light/test
  2. {
  3.     surfaceparm nomarks
  4.     q3map_surfacelight 2000
  5.     // light 1
  6.     // test light
  7.     {
  8.         map $lightmap
  9.         rgbGen identity
  10.     }
  11.     {
  12.         map textures/light/test.tga
  13.         blendFunc GL_DST_COLOR GL_ZERO
  14.         rgbGen identity
  15.     }
  16.     {
  17.         map textures/light/test_1_blend.tga
  18.         blendfunc GL_ONE GL_ONE
  19.     }
  20. }
  21.  
  22. textures/light/jh_rustwin1lit
  23. {
  24.     qer_editorimage textures/algiers/jh_rustwin1.tga
  25.     surfaceparm nomarks
  26.     surfaceparm glass
  27.     q3map_surfacelight 2000
  28.     // light 1
  29.     // test light
  30.     {
  31.         map $lightmap
  32.         rgbGen identity
  33.     }
  34.     {
  35.         map textures/Algiers/jh_rustwin1.tga
  36.         blendFunc GL_DST_COLOR GL_ZERO
  37.         rgbGen identity
  38.     }
  39.     {
  40.         map textures/light/jh_rustwin1_blend.tga
  41.         blendfunc GL_ONE GL_ONE
  42.     }
  43.  
  44. textures/light/jh_rustwin1_blend
  45. {
  46.     qer_editorimage textures/light/jh_rustwin1_blend.tga
  47.     surfaceparm nomarks
  48.     surfaceparm glass
  49.     {
  50.         map textures/light/jh_rustwin1_blend.tga
  51.         rgbGen identity
  52.     }
  53. }
  54.  
  55. textures/light/ihwin1a_framelit
  56. {
  57.     qer_editorimage textures/light/ihwin1a_framelit.tga
  58.     surfaceparm nomarks
  59.     surfaceparm glass
  60.     q3map_surfacelight 2000
  61.     // light 1
  62.     // test light
  63.     {
  64.         map $lightmap
  65.         rgbGen identity
  66.     }
  67.     {
  68.         map textures/light/ihwin1a_framelit.tga
  69.         blendFunc GL_DST_COLOR GL_ZERO
  70.         rgbGen identity
  71.     }
  72.     {
  73.         map textures/light/ihwin1a_framelit_blend.tga
  74.         blendfunc GL_ONE GL_ONE
  75.     }
  76. }
  77.  
  78. textures/light/window2
  79. {
  80.     qer_editorimage textures/light/window_02.tga
  81.     qer_keyword utility
  82.     surfaceparm nomarks
  83.     q3map_surfacelight 2000
  84.     {
  85.         map $lightmap
  86.         rgbGen identity
  87.     }
  88.     {
  89.         map textures/light/window_02.tga
  90.         blendFunc GL_DST_COLOR GL_ZERO
  91.         rgbGen identity
  92.     }
  93.     {
  94.         map textures/light/window_02_blend.tga
  95.         blendfunc GL_ONE GL_ONE
  96.     }
  97. }
  98.  
  99. textures/light/window3
  100. {
  101.     qer_editorimage textures/light/window_03.tga
  102.     qer_keyword utility
  103.     surfaceparm nomarks
  104.     q3map_surfacelight 2000
  105.     {
  106.         map $lightmap
  107.         rgbGen identity
  108.     }
  109.     {
  110.         map textures/light/window_03.tga
  111.         blendFunc GL_DST_COLOR GL_ZERO
  112.         rgbGen identity
  113.     }
  114.     {
  115.         map textures/light/window_03_blend.tga
  116.         blendfunc GL_ONE GL_ONE
  117.     }
  118. }
  119.  
  120. textures/light/ce_window1night
  121. {
  122.     qer_keyword utility
  123.     surfaceparm nomarks
  124.     q3map_surfacelight 1500
  125.     {
  126.         map $lightmap
  127.         rgbGen identity
  128.     }
  129.     {
  130.         map textures/light/ce_window1night.tga
  131.         blendFunc GL_DST_COLOR GL_ZERO
  132.         rgbGen identity
  133.     }
  134.     {
  135.         map textures/light/ce_window1night_blend.tga
  136.         blendfunc GL_ONE GL_ONE
  137.     }
  138. }
  139.  
  140. textures/light/window4_interiorlit
  141. {
  142.     qer_keyword utility
  143.     surfaceparm nomarks
  144.     surfaceparm glass
  145.     q3map_surfacelight 1500
  146.     {
  147.         map $lightmap
  148.         rgbGen identity
  149.     }
  150.     {
  151.         map textures/light/window4_interiorlit.tga
  152.         blendFunc GL_DST_COLOR GL_ZERO
  153.         rgbGen identity
  154.     }
  155.     {
  156.         map textures/light/window4_interiorlit_blend.tga
  157.         blendfunc GL_ONE GL_ONE
  158.     }
  159. }
  160.  
  161. textures/light/window4_exteriorlit
  162. {
  163.     qer_keyword utility
  164.     surfaceparm nomarks
  165.     surfaceparm glass
  166.     q3map_surfacelight 1500
  167.     {
  168.         map $lightmap
  169.         rgbGen identity
  170.     }
  171.     {
  172.         map textures/light/window4_exteriorlit.tga
  173.         blendFunc GL_DST_COLOR GL_ZERO
  174.         rgbGen identity
  175.     }
  176.     {
  177.         map textures/light/window4_exteriorlit_blend.tga
  178.         blendfunc GL_ONE GL_ONE
  179.     }
  180.  
  181. textures/light/jh_natestahwin1lit
  182. {
  183.     qer_editorimage textures/light/jh_natestahwin1_blend.tga
  184.     qer_keyword utility
  185.     surfaceparm nomarks
  186.     q3map_surfacelight 2000
  187.     {
  188.         map $lightmap
  189.         rgbGen identity
  190.     }
  191.     {
  192.         map textures/general_structure/jh_natestahwin1.tga
  193.         blendFunc GL_DST_COLOR GL_ZERO
  194.         rgbGen identity
  195.     }
  196.     {
  197.         map textures/light/jh_natestahwin1_blend.tga
  198.         blendfunc GL_ONE GL_ONE
  199.     }
  200. }
  201. textures/light/jh_cathwin1
  202. {
  203.     qer_editorimage textures/central_europe/jh_cathwin1.tga
  204.     qer_keyword utility
  205.     surfaceparm nomarks
  206.     q3map_surfacelight 2000
  207.     // light 1
  208.     // test light
  209.     {
  210.         map $lightmap
  211.         rgbGen identity
  212.     }
  213.     {
  214.         map textures/central_europe/jh_cathwin1.tga
  215.         blendFunc GL_DST_COLOR GL_ZERO
  216.         rgbGen identity
  217.     }
  218.     {
  219.         map textures/light/jh_cathwin1_blend.tga
  220.         blendfunc GL_ONE GL_ONE
  221.     }
  222. }
  223.  
  224. textures/light/jh_window2pj_lit
  225. {
  226.     qer_editorimage textures/mohcommon/jh_window2pj_lit.tga
  227.     surfaceparm nomarks
  228.     q3map_surfacelight 100
  229.     surfaceparm glass
  230.     // light 1
  231.     // test light
  232.     {
  233.         map $lightmap
  234.         rgbGen identity
  235.     }
  236.     {
  237.         map textures/mohcommon/jh_window2pj_lit.tga
  238.         blendFunc GL_DST_COLOR GL_ZERO
  239.         rgbGen identity
  240.     }
  241.     {
  242.         map textures/light/jh_window2pj_lit_blend.tga
  243.         blendfunc GL_ONE GL_ONE
  244.     }
  245. }
  246.  
  247. textures/light/jh_window3pj_lit
  248. {
  249.     qer_editorimage textures/mohcommon/jh_window3pj_lit.tga
  250.     surfaceparm nomarks
  251.     q3map_surfacelight 2000
  252.     // light 1
  253.     // test light
  254.     {
  255.         map $lightmap
  256.         rgbGen identity
  257.     }
  258.     {
  259.         map textures/mohcommon/jh_window3pj_lit.tga
  260.         blendFunc GL_DST_COLOR GL_ZERO
  261.         rgbGen identity
  262.     }
  263.     {
  264.         map textures/light/jh_window3pj_lit_blend.tga
  265.         blendfunc GL_ONE GL_ONE
  266.     }
  267.  
  268. textures/light/jh_window1pj_lit
  269. {
  270.     qer_editorimage textures/light/jh_window1pj_lit.tga
  271.     surfaceparm nomarks
  272.     q3map_surfacelight 3000
  273.     // light 1
  274.     // test light
  275.     {
  276.         map $lightmap
  277.         rgbGen identity
  278.     }
  279.     {
  280.         map textures/light/jh_window1pj_lit.tga
  281.         blendFunc GL_DST_COLOR GL_ZERO
  282.         rgbGen identity
  283.     }
  284.     {
  285.         map textures/light/jh_window1pj_lit_blend.tga
  286.         blendfunc GL_ONE GL_ONE
  287.     }
  288.  
  289. textures/light/jhwin1a_framelit
  290. {
  291.     qer_editorimage textures/light/jhwin1a_framelit.tga
  292.     surfaceparm nomarks
  293.     q3map_surfacelight 4000
  294.     // light 1
  295.     // test light
  296.     {
  297.         map $lightmap
  298.         rgbGen identity
  299.     }
  300.     {
  301.         map textures/light/jhwin1a_framelit.tga
  302.         blendFunc GL_DST_COLOR GL_ZERO
  303.         rgbGen identity
  304.     }
  305.     {
  306.         map textures/light/jhwin1a_framelit_blend.tga
  307.         blendfunc GL_ONE GL_ONE
  308.     }
  309. }
  310.  
  311. // Globe light post
  312. globe
  313. {
  314.     qer_editorimage textures/models/lights/globe.tga
  315.     {
  316.         map textures/models/lights/globe.tga
  317.         rgbGen lightingSpherical
  318.     }
  319. }
  320.  
  321. g_post
  322. {
  323.     qer_editorimage textures/models/lights/g_post.tga
  324.     {
  325.         map textures/models/lights/g_post.tga
  326.         rgbGen lightingSpherical
  327.     }
  328. }
  329.  
  330. // Static Globe light post
  331. static_globe
  332. {
  333.     qer_editorimage textures/models/lights/globe.tga
  334.     {
  335.         map textures/models/lights/globe.tga
  336.         rgbgen lightingSpherical
  337.     }
  338.     {
  339.         map textures/models/lights/globe.tga
  340.         blendfunc blend
  341.                 rgbGen identity
  342.     }
  343. }
  344.  
  345. static_g_post
  346. {
  347.     qer_editorimage textures/models/lights/g_post.tga
  348.     {
  349.         map textures/models/lights/g_post.tga
  350.         rgbgen lightingSpherical
  351.     }
  352. }
  353.  
  354.  
  355. textures/light/ornmntl_lampshade
  356. {
  357.     qer_editorimage textures/interior/ornmntl_lampshade.tga
  358.     surfaceparm nonsolid
  359.     surfaceparm nomarks
  360.     cull none
  361.     // light 1
  362.     // test light
  363. //    q3map_surfacelight 2000
  364.     {
  365.         map $lightmap
  366.         rgbGen identity
  367.     }
  368.     {
  369.         map textures/interior/ornmntl_lampshade.tga
  370.         blendFunc GL_DST_COLOR GL_ZERO
  371.         rgbGen identity
  372.     }
  373.     {
  374.         map textures/light/ornmntl_lampshade_blend.tga
  375.         blendfunc GL_ONE GL_ONE
  376.     }
  377. }
  378.  
  379. // Globe light post winter
  380. globe_winter
  381. {
  382.     qer_editorimage textures/models/lights/globe_winter.tga
  383.     {
  384.         map textures/models/lights/globe_winter.tga
  385.         rgbGen lightingSpherical
  386.     }
  387. }
  388.  
  389. g_post_winter
  390. {
  391.     qer_editorimage textures/models/lights/g_post_winter.tga
  392.     {
  393.         map textures/models/lights/g_post_winter.tga
  394.         rgbGen lightingSpherical
  395.     }
  396. }
  397.  
  398. static_globe_winter
  399. {
  400.     qer_editorimage textures/models/lights/globe_winter.tga
  401.     {
  402.         map textures/models/lights/globe_winter.tga
  403.         rgbgen lightingSpherical
  404.     } 
  405.         {
  406.         map textures/models/lights/globe_winter.tga
  407.         blendfunc blend
  408.                 rgbGen identity
  409.     }
  410. }
  411.  
  412. static_g_post_winter
  413. {
  414.     qer_editorimage textures/models/lights/g_post_winter.tga
  415.     {
  416.         map textures/models/lights/g_post_winter.tga
  417.         rgbgen lightingSpherical
  418.     }
  419. }
  420.  
  421.  
  422. // Hanging wall lamp
  423. hanger
  424. {
  425.     qer_editorimage textures/models/lights/hanger.tga
  426.     {
  427.         map textures/models/lights/hanger.tga
  428.         rgbGen lightingSpherical
  429.         alphafunc ge128
  430.         depthwrite
  431.     }
  432. }
  433.  
  434. lantern
  435. {
  436.     qer_editorimage textures/models/lights/lantern.tga
  437.     {
  438.         map textures/models/lights/lantern.tga
  439.         rgbGen lightingSpherical
  440.     }
  441. }
  442.  
  443. h_cross
  444. {
  445.     cull none
  446.     qer_editorimage textures/models/lights/hanger.tga
  447.     {
  448.         map textures/models/lights/hanger.tga
  449.         rgbGen lightingSpherical
  450.     }
  451. }
  452.  
  453. static_hanger
  454. {
  455.     qer_editorimage textures/models/lights/hanger.tga
  456.     {
  457.         map textures/models/lights/hanger.tga
  458.         rgbgen lightingSpherical
  459.         alphafunc ge128
  460.         depthwrite
  461.     }
  462. }
  463.  
  464. static_h_cross
  465. {
  466.     cull none
  467.     qer_editorimage textures/models/lights/hanger.tga
  468.     {
  469.         map textures/models/lights/hanger.tga
  470.         rgbgen lightingSpherical
  471.     }
  472. }
  473.  
  474.  
  475. // Hanging wall lamp winter
  476. hanger_snow
  477. {
  478.     qer_editorimage textures/models/lights/hanger_snow.tga
  479.     {
  480.         map textures/models/lights/hanger_snow.tga
  481.         rgbGen lightingSpherical
  482.         alphafunc ge128
  483.         depthwrite
  484.     }
  485. }
  486.  
  487. lantern_snow
  488. {
  489.     qer_editorimage textures/models/lights/lantern_snow.tga
  490.     {
  491.         map textures/models/lights/lantern_snow.tga
  492.         rgbGen lightingSpherical
  493.     }
  494. }
  495.  
  496. h_cross_snow
  497. {
  498.     cull none
  499.     qer_editorimage textures/models/lights/hanger_snow.tga
  500.     {
  501.         map textures/models/lights/hanger_snow.tga
  502.         rgbGen lightingSpherical
  503.     }
  504. }
  505.  
  506. static_hanger_snow
  507. {
  508.     qer_editorimage textures/models/lights/hanger_snow.tga
  509.     {
  510.         map textures/models/lights/hanger_snow.tga
  511.         rgbgen lightingSpherical
  512.         alphafunc ge128
  513.         depthwrite
  514.     }
  515. }
  516.  
  517. static_lantern_snow
  518. {
  519.     qer_editorimage textures/models/lights/lantern_snow.tga
  520.  
  521.     {
  522.         map textures/models/lights/lantern_snow.tga
  523.         rgbgen lightingSpherical
  524.     }
  525.         {
  526.         map textures/models/lights/lantern_snow.tga
  527.                 blendfunc blend
  528.         rgbGen identity
  529.     }
  530. }
  531.  
  532. static_h_cross_snow
  533. {
  534.     cull none
  535.     qer_editorimage textures/models/lights/hanger_snow.tga
  536.     {
  537.         map textures/models/lights/hanger_snow.tga
  538.         rgbgen lightingSpherical
  539.     }
  540. }
  541.  
  542.  
  543. // Tri pole light
  544. support
  545. {
  546.     qer_editorimage textures/models/lights/support.tga
  547.     {
  548.         map textures/models/lights/support.tga
  549.         rgbGen lightingSpherical
  550.         alphafunc ge128
  551.         depthwrite
  552.     }
  553. }
  554.  
  555. t_post
  556. {
  557.     qer_editorimage textures/models/lights/t_post.tga
  558.     {
  559.         map textures/models/lights/t_post.tga
  560.         rgbGen lightingSpherical
  561.     }
  562. }
  563.  
  564. s_cross
  565. {
  566.     cull none
  567.     qer_editorimage textures/models/lights/support.tga
  568.     {
  569.         map textures/models/lights/support.tga
  570.         rgbGen lightingSpherical
  571.     }
  572. }
  573.  
  574. // Tri pole light winter
  575. support_snow
  576. {
  577.     qer_editorimage textures/models/lights/support_snow.tga
  578.     {
  579.         map textures/models/lights/support_snow.tga
  580.         rgbGen lightingSpherical
  581.         alphafunc ge128
  582.         depthwrite
  583.     }
  584. }
  585.  
  586. t_post_winter
  587. {
  588.     qer_editorimage textures/models/lights/t_post_winter.tga
  589.     {
  590.         map textures/models/lights/t_post_winter.tga
  591.         rgbGen lightingSpherical
  592.     }
  593. }
  594.  
  595. s_cross_winter
  596. {
  597.     qer_editorimage textures/models/lights/support_snow.tga
  598.     cull none
  599.     {
  600.         map textures/models/lights/support_snow.tga
  601.         rgbGen lightingSpherical
  602.     }
  603. }
  604.  
  605. static_support_snow
  606. {
  607.     qer_editorimage textures/models/lights/support_snow.tga
  608.     {
  609.         map textures/models/lights/support_snow.tga
  610.         rgbgen lightingSpherical
  611.         alphafunc ge128
  612.         depthwrite
  613.     }
  614. }
  615.  
  616. static_t_post_winter
  617. {
  618.     qer_editorimage textures/models/lights/t_post_winter.tga
  619.     {
  620.         map textures/models/lights/t_post_winter.tga
  621.         rgbgen lightingSpherical
  622.     }
  623. }
  624.  
  625. static_s_cross_winter
  626. {
  627.     qer_editorimage textures/models/lights/support_snow.tga
  628.     cull none
  629.     {
  630.         map textures/models/lights/support_snow.tga
  631.         rgbgen lightingSpherical
  632.     }
  633. }
  634.  
  635.  
  636.  
  637. // Lightbulb
  638.  
  639. //bulb
  640. //{
  641. //    qer_editorimage textures/models/lights/bulb.tga
  642. //    {
  643. //        map textures/models/lights/bulb.tga
  644. //        rgbgen lightingSpherical
  645. //    }
  646. //        {
  647. //        map textures/models/lights/bulb.tga
  648. //        blendfunc blend
  649. //                rgbGen identity
  650. //    }
  651. //}
  652.  
  653. static_bulb
  654. {
  655.     qer_editorimage textures/models/lights/bulb.tga
  656.     {
  657.         map textures/models/lights/bulb.tga
  658.         rgbgen lightingSpherical
  659.         depthwrite
  660.     } 
  661.       {
  662.         map textures/models/lights/bulb.tga
  663.         blendfunc blend
  664.                 rgbGen identity
  665.     }
  666. }
  667.  
  668. bulb
  669. {
  670.     qer_editorimage textures/models/lights/bulb.tga
  671.     {
  672.         map textures/models/lights/bulb.tga
  673. //        rgbGen spherical
  674.         rgbGen lightingspherical  //Radek
  675.         depthwrite
  676.     } 
  677.       {
  678.         map textures/models/lights/bulb.tga
  679.         blendfunc blend
  680.                 rgbGen identity
  681.     }
  682. }
  683.  
  684.  
  685. // Lightbulb cover
  686. bulbcover
  687. {
  688.     qer_editorimage textures/models/lights/bulbcover.tga
  689.     cull none
  690.     {
  691.         map textures/models/lights/bulbcover.tga
  692.         rgbGen lightingGrid
  693.     }
  694. }
  695.  
  696. static_bulbcover
  697. {
  698.     qer_editorimage textures/models/lights/bulbcover.tga
  699.     cull none
  700.     {
  701.         map textures/models/lights/bulbcover.tga
  702.         rgbgen lightingSpherical
  703.     }
  704. }
  705.  
  706.  
  707. // Moroccan lamp
  708. desertlamp
  709. {
  710.     qer_editorimage textures/models/lights/desertlamp.tga
  711.     cull none
  712.     {
  713.         map textures/models/lights/desertlamp.tga
  714.         rgbGen lightingGrid
  715.         alphafunc ge128
  716.         depthwrite
  717.     }
  718. }
  719.  
  720. static_desertlamp
  721. {
  722.     qer_editorimage textures/models/lights/desertlamp.tga
  723.     cull none
  724.     {
  725.         map textures/models/lights/desertlamp.tga
  726.         rgbgen lightingSpherical
  727.         alphafunc ge128
  728.         depthwrite
  729.     }
  730.         {
  731.         map textures/models/lights/desertlamp.tga
  732.         blendfunc blend
  733.                 rgbGen identity
  734.     }
  735. }
  736.  
  737. cagelight
  738. {
  739.     qer_editorimage textures/models/lights/cagelight.tga
  740.     cull none
  741.     {
  742.         map textures/models/lights/cagelight.tga
  743.         rgbGen lightingGrid
  744.         alphafunc ge128
  745.         depthwrite
  746.     }
  747.     {
  748.             map textures/models/lights/cagelight.tga
  749.         blendfunc blend
  750.                 rgbGen identity
  751.     }
  752. cagelight-red
  753. {
  754.     qer_editorimage textures/models/lights/cagelight-red.tga
  755.     cull none
  756.     {
  757.         map textures/models/lights/cagelight-red.tga
  758.         rgbGen lightingGrid
  759.         alphafunc ge128
  760.         depthwrite
  761.     }
  762.     {
  763.             map textures/models/lights/cagelight-red.tga
  764.         blendfunc blend
  765.                 rgbGen identity
  766.     }
  767. cagelight-red-lit
  768. {
  769.     qer_editorimage textures/models/lights/cagelight-red-lit.tga
  770.     cull none
  771.     {
  772.         map textures/models/lights/cagelight-red-lit.tga
  773.         rgbGen lightingGrid
  774.         alphafunc ge128
  775.         depthwrite
  776.     }
  777.     {
  778.             map textures/models/lights/cagelight-red-lit.tga
  779.         blendfunc blend
  780.                 rgbGen identity
  781.     }
  782. cagelight-green
  783. {
  784.     qer_editorimage textures/models/lights/cagelight-green.tga
  785.     cull none
  786.     {
  787.         map textures/models/lights/cagelight-green.tga
  788.         rgbGen lightingGrid
  789.         alphafunc ge128
  790.         depthwrite
  791.     }
  792.     {
  793.             map textures/models/lights/cagelight-green.tga
  794.         blendfunc blend
  795.                 rgbGen identity
  796.     }
  797. static_cagelight
  798. {
  799.     qer_editorimage textures/models/lights/cagelight.tga
  800.     cull none
  801.     {
  802.         map textures/models/lights/cagelight.tga
  803.         rgbgen lightingSpherical
  804.         alphafunc ge128
  805.         depthwrite
  806.     }
  807.     {
  808.             map textures/models/lights/cagelight.tga
  809.         blendfunc blend
  810.                 rgbGen identity
  811.     }
  812.  
  813. static_cagelight_red
  814. {
  815.     qer_editorimage textures/models/lights/cagelight_red.tga
  816.     cull none
  817.     {
  818.         map textures/models/lights/cagelight_red.tga
  819.         rgbgen lightingSpherical
  820.         alphafunc ge128
  821.         depthwrite
  822.     }
  823.     {
  824.             map textures/models/lights/cagelight_red.tga
  825.         blendfunc blend
  826.                 rgbGen identity
  827.     }
  828.  
  829. // Lightbulb cover
  830. static_bulbcover_one
  831. {
  832.     qer_editorimage textures/models/lights/bulbcover_one.tga
  833.     {
  834.         map textures/models/lights/bulbcover_one.tga
  835.         rgbgen lightingSpherical
  836.     }
  837. }
  838. static_bulbcover_two
  839. {
  840.     qer_editorimage textures/models/lights/bulbcover_two.tga
  841.     {
  842.         map textures/models/lights/bulbcover_two.tga
  843.         rgbGen identity
  844.     }
  845. }
  846.  
  847. //German lantern
  848. static_glantern
  849. {
  850.     qer_editorimage textures/models/lights/glantern.tga
  851.     {
  852.         map textures/models/lights/glantern.tga
  853.         rgbgen lightingSpherical
  854.     }
  855. }
  856. static_glanterncull
  857. {
  858.     qer_editorimage textures/models/lights/glantern.tga
  859.     cull none
  860.     {
  861.         map textures/models/lights/glantern.tga
  862.         rgbgen lightingSpherical
  863.         alphafunc ge128
  864.         depthwrite
  865.     }
  866.  
  867. //German lantern
  868. glantern
  869. {
  870.     qer_editorimage textures/models/lights/glantern.tga
  871.     {
  872.         map textures/models/lights/glantern.tga
  873.         rgbGen lightingspherical
  874.     }
  875. }
  876. glanternglass
  877. {
  878.     qer_editorimage textures/models/lights/glantern.tga
  879.     {
  880.         map textures/models/lights/glantern.tga
  881.         rgbGen identity
  882.         alphagen oneminusdot 0.2 1.2
  883.         blendfunc blend
  884.     }
  885. }
  886. glanterncull
  887. {
  888.     qer_editorimage textures/models/lights/glantern.tga
  889.     cull none
  890.     {
  891.         map textures/models/lights/glantern.tga
  892.         rgbGen lightingspherical
  893.         alphafunc ge128
  894.         depthwrite
  895.     }
  896.  
  897. ///////////////////////////////////////////////////////////////justin///////////////////
  898. shattered_globe
  899. {
  900.     qer_editorimage textures/models/lights/globe_shattered.tga
  901.     {
  902.         map textures/models/lights/globe_shattered.tga
  903.                 blendFunc blend
  904.         rgbGen lightingSpherical
  905.     }
  906.  
  907. broken_lantern
  908. {
  909.     qer_editorimage textures/models/lights/lantern_broken.tga
  910.     {
  911.         map textures/models/lights/lantern_broken.tga
  912.                 blendFunc blend
  913.         rgbGen lightingSpherical
  914.     }
  915.  
  916. ////////////////////////////////////////////
  917. //lit warehouse windows
  918. ////////////////////////////////////////////
  919.  
  920. textures/light/warewindowlit1
  921. {
  922.     qer_editorimage textures/light/warewindowlit1.tga
  923.     surfaceparm nomarks
  924.     q3map_surfacelight 2000
  925.     // light 1
  926.     // test light
  927.     {
  928.         map $lightmap
  929.         rgbGen identity
  930.     }
  931.     {
  932.         map textures/light/warewindowlit1.tga
  933.         blendFunc GL_DST_COLOR GL_ZERO
  934.         rgbGen identity
  935.     }
  936.     {
  937.         map textures/light/warewindowlit1_blend.tga
  938.         blendfunc GL_ONE GL_ONE
  939.     }
  940. }
  941.  
  942. textures/light/warewindowlit2
  943. {
  944.     qer_editorimage textures/light/warewindowlit2.tga
  945.     surfaceparm nomarks
  946.     q3map_surfacelight 2000
  947.     // light 1
  948.     // test light
  949.     {
  950.         map $lightmap
  951.         rgbGen identity
  952.     }
  953.     {
  954.         map textures/light/warewindowlit2.tga
  955.         blendFunc GL_DST_COLOR GL_ZERO
  956.         rgbGen identity
  957.     }
  958.     {
  959.         map textures/light/warewindowlit2_blend.tga
  960.         blendfunc GL_ONE GL_ONE
  961.     }
  962. }
  963.  
  964.  
  965. textures/light/warewindowlit_nolight
  966. {
  967.     qer_editorimage textures/light/warewindowlit2.tga
  968.     surfaceparm nomarks
  969.     // light 1
  970.     // test light
  971.     {
  972.         map $lightmap
  973.         rgbGen identity
  974.     }
  975.     {
  976.         map textures/light/warewindowlit2.tga
  977.         blendFunc GL_DST_COLOR GL_ZERO
  978.         rgbGen identity
  979.     }
  980.     {
  981.         map textures/light/warewindowlit2_blend.tga
  982.         blendfunc GL_ONE GL_ONE
  983.     }
  984. }
  985.  
  986. textures/light/warewindowlit3
  987. {
  988.     qer_editorimage textures/light/warewindowlit3.tga
  989.     surfaceparm nomarks
  990.     surfaceparm glass
  991.     q3map_surfacelight 2000
  992.     // light 1
  993.     // test light
  994.     {
  995.         map $lightmap
  996.         rgbGen identity
  997.     }
  998.     {
  999.         map textures/light/warewindowlit3.tga
  1000.         blendFunc GL_DST_COLOR GL_ZERO
  1001.         rgbGen identity
  1002.     }
  1003.     {
  1004.         map textures/light/warewindowlit3_blend.tga
  1005.         blendfunc GL_ONE GL_ONE
  1006.     }
  1007. }
  1008.  
  1009. textures/light/ambientwhite
  1010. {
  1011.     qer_editorimage textures/common/white.tga
  1012.     surfaceparm nodamage
  1013.     qer_keyword utility
  1014.     surfaceparm nodraw
  1015.     surfaceparm noimpact
  1016.     surfaceparm nonsolid
  1017.     surfaceparm nomarks
  1018.     surfaceparm trans
  1019.     q3map_surfacelight 2000
  1020.     {
  1021.         map $whiteimage
  1022.         rgbgen lightingSpherical
  1023.     }
  1024. }
  1025.  
  1026. static_lantern
  1027. {
  1028.     qer_editorimage textures/models/lights/lantern.tga
  1029.     {
  1030.         map textures/models/lights/lantern.tga
  1031.         rgbGen lightingSpherical
  1032.         
  1033.     }
  1034.         {
  1035.         map textures/models/lights/lantern.tga
  1036.         blendfunc blend
  1037.               rgbGen identity
  1038.     }
  1039. }
  1040.  
  1041. static_support
  1042. {
  1043.     qer_editorimage textures/models/lights/support.tga
  1044.     {
  1045.         map textures/models/lights/support.tga
  1046.         rgbgen lightingSpherical
  1047.         alphafunc ge128
  1048.         depthwrite
  1049.     }
  1050. }
  1051.  
  1052. static_s_cross
  1053. {
  1054.     cull none
  1055.     qer_editorimage textures/models/lights/support.tga
  1056.     {
  1057.         map textures/models/lights/support.tga
  1058.         rgbgen lightingSpherical
  1059.     }
  1060. }
  1061.  
  1062. static_t_post
  1063. {
  1064.     qer_editorimage textures/models/lights/t_post.tga
  1065.     {
  1066.         map textures/models/lights/t_post.tga
  1067.         rgbgen lightingSpherical
  1068.     }
  1069. }
  1070.